Download Latest Version smc-maven-plugin-7.6.0.jar (25.9 kB)
Email in envelope

Get an email when there's a new version of SMC - The State Machine Compiler

Name Modified Size InfoDownloads / Week
Parent folder
sounds 2021-11-11
README.txt 2021-11-11 888 Bytes
Makefile 2021-11-11 8.0 kB
manifest.txt 2021-11-11 55 Bytes
Telephone.java 2021-11-11 45.3 kB
Telephone.sm 2021-11-11 13.3 kB
Totals: 6 Items   67.5 kB 0


                         Java Example 7


This is a telephone finite state machine.


+ Building
----------

NOTE: Smc.jar must be built and installed.

Unix & Windows:
    $ make telephone


+ Executing
-----------

(Make sure you have sound turned on before running this
 application.)

Do what you normally do with a telephone: pick up the receiver
and start dialing.

Try some of these telephone number:

    + 555-1212
    + 555-9263
    + 1-212-555-1234
    + 879-6877
    + 1-802-521-6448
    + Dial a "#" or a "*"
    + 911

When you have completed the telephone call put down the receiver.

Note: If you don't put down the receiver after the call has
      completed, a "receiver left off hook" alarm will sound.

Unix:

    $ java -classpath ${CLASSPATH}:../../../lib/statemap.jar Telephone

Windows:

    $ java -classpath "${CLASSPATH};../../../lib/statemap.jar" Telephone
Source: README.txt, updated 2021-11-11